/* 
 * AUTHOR: Kevin Lam
 */

package com.apps.datastore.dao;

public class CachedCourseInformationObject {

	private long generalSeats;
	private long restrictedSeats;

	public CachedCourseInformationObject() {
		this.generalSeats = 0;
		this.restrictedSeats = 0;
	}

	public CachedCourseInformationObject(long g, long r) {
		this.generalSeats = g;
		this.restrictedSeats = r;
	}

	public long getGeneralSeats() {
		return generalSeats;
	}

	public long getRestrictedSeats() {
		return restrictedSeats;
	}

	public void setGeneralSeats(long generalSeats) {
		this.generalSeats = generalSeats;
	}

	public void setRestrictedSeats(long restrictedSeats) {
		this.restrictedSeats = restrictedSeats;
	}

	@Override
	public String toString() {
		return "general seats remaining=" + this.generalSeats
				+ " restricted seats remaining=" + this.restrictedSeats;

	}

}
